package com.weijin.exception;

import com.weijin.model.enums.ExceptionCode;

/**
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/28 18:34
 */
public class AppException extends RuntimeException {

    public AppException(String message) {
        super(message);
    }

    public AppException(ExceptionCode exceptionCode) {
        super(exceptionCode.getMessage());
    }


}
